]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agoworkspacesView: Use SwipeTracker
Alexander Mikhaylenko [Mon, 8 Jul 2019 08:47:04 +0000 (13:47 +0500)]
workspacesView: Use SwipeTracker

Replace existing panning, touchpad scrolling and four-finger gesture by
SwipeTracker.

Change programmatic workspace animation to use easeOutCubic interpolator
to match the gesture.

Also change the dragging distance to always match the current monitor.

Fixes touchpad parts of https://gitlab.gnome.org/GNOME/gnome-shell/issues/1338

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/826

6 years agoswipeTracker: Introduce swipe tracker
Alexander Mikhaylenko [Sun, 30 Jun 2019 12:11:27 +0000 (17:11 +0500)]
swipeTracker: Introduce swipe tracker

Add a unified swipe tracker supporting dragging, four-finger swipe on both
touchscreen and touchpad, and touchpad scrolling.

The shared logic is largely same as the one in WebKit and libhandy.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/826

6 years agoscreenShield: Stop messing with fixed-position-set
Florian Müllner [Fri, 10 Jan 2020 15:14:47 +0000 (16:14 +0100)]
screenShield: Stop messing with fixed-position-set

We no longer change the position at all, so this property doesn't
change and doesn't matter (anymore).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/927

6 years agoscreenShield: Fix showing shield without animation
Florian Müllner [Fri, 10 Jan 2020 15:09:48 +0000 (16:09 +0100)]
screenShield: Fix showing shield without animation

Commit 24e631ffe2 changed the shield animation to use translation
instead of position.

However once the shield is raised, only an animation will lower it
again, which means the shield is missing when it's supposed to be
shown without animation (for example after an idle blank).

Fix this by resetting the translation-y property in that case.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/927

6 years agoUpdate Slovak translation
Andrej Shadura [Fri, 10 Jan 2020 06:41:21 +0000 (06:41 +0000)]
Update Slovak translation

6 years agoshell/blur-effect: Set float brightness property
Georges Basile Stavracas Neto [Thu, 9 Jan 2020 20:50:11 +0000 (17:50 -0300)]
shell/blur-effect: Set float brightness property

The brightness property of ShellBlurEffect is of float type, but
we are calling g_value_set_int() in the GObject::get_property()
handler, which throws warnings when trying to set the property
via g_object_set() and family.

Use g_value_set_float() instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/924

6 years agodateMenu: Adjust weather section spacing
Florian Müllner [Thu, 19 Dec 2019 00:03:24 +0000 (01:03 +0100)]
dateMenu: Adjust weather section spacing

Add some vertical spacing above and below the time labels to make
the section less crammed and let forecast icon and temperature
appear as a unit.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1143

6 years agodateMenu: Move weather forecast time above icon
Florian Müllner [Wed, 18 Dec 2019 23:43:12 +0000 (00:43 +0100)]
dateMenu: Move weather forecast time above icon

The time is de-emphasized like the header, grouping them together
helps to further accentuate the more important information.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1143

6 years agodateMenu: Tweak temperature labels
Florian Müllner [Wed, 18 Dec 2019 23:45:17 +0000 (00:45 +0100)]
dateMenu: Tweak temperature labels

Together with the forecast icon, the temperature label is the most
important information in the weather section. To emphasize it more,
reduce its space requirement by removing the temperature unit, then
make the text bold.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1143

6 years agotheme: fix HC after refactoring
Jakub Steiner [Wed, 8 Jan 2020 10:08:14 +0000 (11:08 +0100)]
theme: fix HC after refactoring

- panel fg color was derived from bg color. Not a good idea as it's not
  just light/drk, but HC as well.
- deriving from dark theme means contrast for things like popover items
  is better.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme > message-list: pad to account for scrollbar
Sam Hewitt [Fri, 20 Dec 2019 21:39:21 +0000 (16:39 -0500)]
theme > message-list: pad to account for scrollbar

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use 99px radius
Sam Hewitt [Fri, 20 Dec 2019 21:33:13 +0000 (16:33 -0500)]
theme: use 99px radius

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: add space between & and .
Sam Hewitt [Fri, 20 Dec 2019 21:19:39 +0000 (16:19 -0500)]
theme: add space between & and .

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: update meson.build with new files
Sam Hewitt [Fri, 20 Dec 2019 21:11:51 +0000 (16:11 -0500)]
theme: update meson.build with new files

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme > search results: revisions to padding, drop bg from app results
Sam Hewitt [Fri, 20 Dec 2019 17:20:52 +0000 (12:20 -0500)]
theme > search results: revisions to padding, drop bg from app results

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use a widgets.scss file for widget import
Sam Hewitt [Fri, 20 Dec 2019 15:45:58 +0000 (10:45 -0500)]
theme: use a widgets.scss file for widget import

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme > osd: light variant fixes; variables
Sam Hewitt [Fri, 20 Dec 2019 00:24:30 +0000 (19:24 -0500)]
theme > osd: light variant fixes; variables

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: search-entry, use more variables
Sam Hewitt [Fri, 20 Dec 2019 00:05:46 +0000 (19:05 -0500)]
theme: search-entry, use more variables

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: window-picker, use osd styling for title tooltips; tidy sass
Sam Hewitt [Fri, 20 Dec 2019 00:01:37 +0000 (19:01 -0500)]
theme: window-picker, use osd styling for title tooltips; tidy sass

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: tidy the syntax for app-grid; fix border radii
Sam Hewitt [Thu, 19 Dec 2019 20:56:45 +0000 (15:56 -0500)]
theme: tidy the syntax for app-grid; fix border radii

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: dash, tidy the sass
Sam Hewitt [Thu, 19 Dec 2019 19:11:59 +0000 (14:11 -0500)]
theme: dash, tidy the sass

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: app-grid, refine the padding, fix the tabs
Sam Hewitt [Thu, 19 Dec 2019 18:05:28 +0000 (13:05 -0500)]
theme: app-grid, refine the padding, fix the tabs

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use the fontsize function consistently
Sam Hewitt [Thu, 19 Dec 2019 16:09:33 +0000 (11:09 -0500)]
theme: use the fontsize function consistently

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: adjust padding in calendar popover
Sam Hewitt [Thu, 19 Dec 2019 15:48:32 +0000 (10:48 -0500)]
theme: adjust padding in calendar popover

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: use spaces instead of tabs
Sam Hewitt [Thu, 19 Dec 2019 15:38:27 +0000 (10:38 -0500)]
theme: use spaces instead of tabs

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agotheme: base of the refactor
Sam Hewitt [Wed, 18 Dec 2019 21:25:03 +0000 (16:25 -0500)]
theme: base of the refactor
- split _common.scss into widgets
- improve _drawing functions
- minify SVG assets

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 9 Jan 2020 13:59:44 +0000 (14:59 +0100)]
Updated Spanish translation

6 years agonetworkAgent: Handle 'vpn' connections when delaying request
Florian Müllner [Mon, 16 Dec 2019 23:21:46 +0000 (00:21 +0100)]
networkAgent: Handle 'vpn' connections when delaying request

Since commit 90a08ba0b6a, we only open a network secret dialog immediately
in response to user action, and show a notification otherwise.

While for the actual request VPNs are handled separately from other connections,
this isn't true when we show the notification - we need to handle 'vpn' together
with the other types there, or we fall through to the default 'invalid type'
exception.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2008

6 years agoworkspacesView: Add timeout for mouse scrolling
Alexander Mikhaylenko [Wed, 16 Oct 2019 05:39:48 +0000 (10:39 +0500)]
workspacesView: Add timeout for mouse scrolling

Prevent uncontrollably fast scrolling. Use the same duration as switching
animation, but add a separate timeout to account for disabled animations.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1338

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/825

6 years agoappDisplay: Add timeout for mouse scrolling
Alexander Mikhaylenko [Wed, 16 Oct 2019 07:30:14 +0000 (12:30 +0500)]
appDisplay: Add timeout for mouse scrolling

Prevent uncontrollably fast scrolling. Use the same duration as switching
animation, but add a separate timeout to account for disabled animations.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1338

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/825

6 years agoappDisplay: Reduce page switch time to 250ms
Alexander Mikhaylenko [Sat, 2 Nov 2019 11:37:06 +0000 (16:37 +0500)]
appDisplay: Reduce page switch time to 250ms

Be consistent with workspace switching.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/825

6 years agoworkspaceThumbnail: Sync indicator with WorkspacesDisplay
Alexander Mikhaylenko [Mon, 8 Jul 2019 08:03:20 +0000 (13:03 +0500)]
workspaceThumbnail: Sync indicator with WorkspacesDisplay

Now that both ThumbnailsBox and WorkspacesDisplay use single adjustments for
controlling indicator and scrolling, create the adjustment in OverviewControls
and pass it to both objects, effectively syncing indicator to scrolling.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/821

6 years agoworkspaceThumbnail: Use scroll adjustment
Alexander Mikhaylenko [Thu, 27 Jun 2019 20:51:10 +0000 (01:51 +0500)]
workspaceThumbnail: Use scroll adjustment

This will allow it to share adjustment with WorkspacesDisplay in the next
commit.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/821

6 years agoworkspacesView: Use shared adjustment
Alexander Mikhaylenko [Sun, 7 Jul 2019 17:51:55 +0000 (22:51 +0500)]
workspacesView: Use shared adjustment

Instead of having a scroll adjustment in each WorkspacesView, and using the
one from primary screen in WorkspacesDisplay, have just one adjustment in
WorkspacesDisplay, and sync the changes between WorkspacesView.

This will allow to share the adjustment between WorkspacesDisplay and
ThumbnailsBox in the next commits.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/821

6 years agoscreenShield: Animate shield using translation_y
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 15:29:12 +0000 (12:29 -0300)]
screenShield: Animate shield using translation_y

Instead of using the 'y', which queues a full relayout and
thus forces effects to be reapplied, use the 'translation_y'
property, that doesn't force relayouts and allows a future
blur effect to actually use the cached framebuffers a lot more.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/864

6 years agoIntroduce ShellBlurEffect
Georges Basile Stavracas Neto [Tue, 7 Jan 2020 19:34:03 +0000 (16:34 -0300)]
Introduce ShellBlurEffect

This is a moderately fast two-pass gaussian blur implementation.
It downscales the framebuffer dynamically before applying the
gaussian shader, which cuts down rendering time quite considerably.

The blur shader takes 2 uniforms as input: the blur radius; and
whether to blur vertically or horizontally.

The blur radius is treated as an integer in C land to simplify
calculations. The vertical parameter is treated as an integer by
the shader simply due to Cogl not having proper boolean support
in snippets.

At last, brightness is also added to avoid needing to use an extra
effect to achieve that. Brightness is applied in a different pipeline
than blur, so we can control it more tightly.

ShellBlurEffect also implements a "background" mode, where the contents
beneath the actor are blurred, but not the actor itself. This mode is
performance-heavy.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1848

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/864

6 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 8 Jan 2020 15:47:48 +0000 (16:47 +0100)]
Updated Spanish translation

6 years agosystemActions: Alias power-off to halt and stop
Florian Müllner [Sat, 21 Dec 2019 02:31:14 +0000 (03:31 +0100)]
systemActions: Alias power-off to halt and stop

Those are words users may reasonably use when trying to shut down their
computer, so add them to the list of keywords.

https://bugzilla.gnome.org/show_bug.cgi?id=791659

6 years agoUpdate Basque translation
Asier Sarasua Garmendia [Wed, 8 Jan 2020 10:39:23 +0000 (10:39 +0000)]
Update Basque translation

6 years agogitlab: Add issue templates
Björn Daase [Sun, 8 Dec 2019 15:56:14 +0000 (15:56 +0000)]
gitlab: Add issue templates

This adds two GitLab issue templates for:
* Epics
* Features

The actual templates are inspired by the ones Geary provides.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/763

6 years agoUpdate default favorite apps list
Michael Catanzaro [Fri, 20 Dec 2019 13:57:49 +0000 (13:57 +0000)]
Update default favorite apps list

Many of the apps in the favorite apps list have fallen out of favor.

Replacing Rhythmbox with Music and Shotwell with Photos are obvious
moves. Rhythmbox and Shotwell are not core apps, and that means we
assume they are not installed by default. It doesn't really make sense
to have non-default apps in the apps list.

Evolution is also not a core app, and that is not likely to change, so
it should also be removed. Adding Geary might be more controversial. It
is a strong candidate to become a core app, GNOME Mail, in the near
future, but it is not there yet. So this could arguably be considered
premature. But I figure a GSettings
default is a cheap thing; we can always change it later if desired.

Calendar is added at the request of GNOME design team ("replacing" the
calendar functionality of Evolution).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/907

6 years agodata: Drop old bugzilla references in .desktop files
Florian Müllner [Wed, 4 Dec 2019 15:23:08 +0000 (16:23 +0100)]
data: Drop old bugzilla references in .desktop files

They are obsolete, and I don't think we have a gitlab replacement
(plus the fields probably stopped being relevant when bug-buddy
went out of fashion ages ago).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/920

6 years agobuild: Use python postinstall script
Florian Müllner [Tue, 3 Dec 2019 22:45:41 +0000 (23:45 +0100)]
build: Use python postinstall script

This is what most GNOME modules now use instead of a shell script,
which makes sense given that the build system itself is written
in python.

This particular copy comes from nautilus ...

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/920

6 years agodocs: Conform to coding style in HACKING guide
Florian Müllner [Mon, 25 Nov 2019 19:17:38 +0000 (20:17 +0100)]
docs: Conform to coding style in HACKING guide

The document is supposed to outline our best practices on the
javascript side, so make sure the code snippets actually conform
to the enforced style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/919

6 years agoenvironment: Remove unused ease parameter
Florian Müllner [Thu, 19 Dec 2019 22:08:44 +0000 (23:08 +0100)]
environment: Remove unused ease parameter

In an earlier iteration of the ease patch set, animatable properties
and easing parameters were different arguments.

This wasn't the case in the final version, so remove the left-overs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/917

6 years agoextensionPrefs: Don't (re-)bind text domain
Florian Müllner [Tue, 3 Dec 2019 19:50:14 +0000 (20:50 +0100)]
extensionPrefs: Don't (re-)bind text domain

Gettext is already set up from the binary, no need to do it again
in JS.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/918

6 years agoBump version to 3.35.3
Florian Müllner [Sun, 5 Jan 2020 10:28:17 +0000 (11:28 +0100)]
Bump version to 3.35.3

Update NEWS.

6 years agokeyboard: Fix input-source switcher alignment
Florian Müllner [Fri, 3 Jan 2020 12:06:08 +0000 (13:06 +0100)]
keyboard: Fix input-source switcher alignment

More fallout from commit 104071acbd.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/916

6 years agoUpdate Catalan translation
Jordi Mas [Fri, 3 Jan 2020 22:07:19 +0000 (23:07 +0100)]
Update Catalan translation

6 years agoswitchMonitor: Center align switcher icon's label
Umang Jain [Thu, 2 Jan 2020 07:25:14 +0000 (12:55 +0530)]
switchMonitor: Center align switcher icon's label

Fallout from 104071acbd.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/913

6 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 30 Dec 2019 11:50:57 +0000 (12:50 +0100)]
Updated Spanish translation

6 years agoUpdate Catalan translation
Jordi Mas [Fri, 27 Dec 2019 13:16:47 +0000 (14:16 +0100)]
Update Catalan translation

6 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Dec 2019 02:40:58 +0000 (02:40 +0000)]
Update Galician translation

6 years agoUpdate Friulian translation
Fabio Tomat [Sun, 22 Dec 2019 18:59:02 +0000 (18:59 +0000)]
Update Friulian translation

6 years agowindowManager: Always reset window actors when minimize animation is cancelled
Robert Mader [Sat, 21 Dec 2019 14:16:47 +0000 (15:16 +0100)]
windowManager: Always reset window actors when minimize animation is cancelled

This was left out in b6d47c18c. Fixes an occasional warning:
`this._minimizeWindowOverwritten is not a function`

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/911

6 years agost/password-entry: Initialize :show-peek-icon property
Florian Müllner [Sat, 21 Dec 2019 03:03:00 +0000 (04:03 +0100)]
st/password-entry: Initialize :show-peek-icon property

The icon is shown by default, but the struct member that backs the
property starts out as FALSE.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/910

6 years agost/password-entry: Fix memory leak
Florian Müllner [Sat, 21 Dec 2019 03:00:56 +0000 (04:00 +0100)]
st/password-entry: Fix memory leak

The peek-password icon is currently created twice, whoops.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/910

6 years agoiconGrid: Fix icon alignment
Florian Müllner [Fri, 20 Dec 2019 21:47:01 +0000 (22:47 +0100)]
iconGrid: Fix icon alignment

We don't want the icon to fill extra space, so set the alignment
accordingly. Otherwise we get an unexpected result when adding
a background just to the icon part (as far as I can tell: just
system-action-icon).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/909

6 years agost: Fix generated GLSL dependency
Florian Müllner [Fri, 20 Dec 2019 19:54:07 +0000 (20:54 +0100)]
st: Fix generated GLSL dependency

StScrollViewFade depends on st-scroll-view-fade-generated.c, but
that dependency isn't expressed to the build system; we just hope
that the custom target runs before compiling the effect.

Instead, add the generated source to the st target so the dependency
is expressed properly.

(The change from .c to .h is to prevent the file from being both
included and compiled, resulting in a duplicated symbol)

https://bugzilla.gnome.org/show_bug.cgi?id=789937

6 years agoscreenshot: Promisify PickPixel
Florian Müllner [Thu, 19 Dec 2019 02:53:51 +0000 (03:53 +0100)]
screenshot: Promisify PickPixel

Same as the previous commit, but for PickPixel.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/903

6 years agoscreenshot: Promisify SelectArea
Florian Müllner [Thu, 19 Dec 2019 02:39:39 +0000 (03:39 +0100)]
screenshot: Promisify SelectArea

The screenshot code has a fair bit of nested callbacks, which means
that it is a good use case for async functions and Promises.

Most code uses GIO's async pattern, which means it can be easily turned
into promises with Gio._promisify(); first handle the couple of cases
that need custom code though, starting with SelectArea.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/903

6 years agograbHelper: Add (promised-based) grabAsync()
Florian Müllner [Thu, 19 Dec 2019 02:28:50 +0000 (03:28 +0100)]
grabHelper: Add (promised-based) grabAsync()

Some GrabHelper uses are in the form:

    doPreGrabStuff();

    this._grabHelper.grab({
        onUngrab: () => {
            undoPreGrabStuff();
        },
    });

A promise-based variant allows to write this more cleanly as:

    doPreGrabStuff();

    await this._grabHelper.grabAsync();

    undoPreGrabStuff();

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/903

6 years agopopupMenu: Close when source actor gets hidden
Florian Müllner [Tue, 17 Dec 2019 00:01:13 +0000 (01:01 +0100)]
popupMenu: Close when source actor gets hidden

If a menu is anchored to a source actor, it is odd to leave it floating
around when the source actor gets hidden.

Close the menu instead in that case.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2002

6 years agopanel: Disable menu-toggle shortcuts while top bar is hidden
Florian Müllner [Tue, 17 Dec 2019 00:00:40 +0000 (01:00 +0100)]
panel: Disable menu-toggle shortcuts while top bar is hidden

We currently handle the case where the indicator itself is disabled
(read: hidden), but not when the entire top bar is invisible (for
instance when the primary monitor is in fullscreen state).

It is odd to pop up a top bar menu without the top bar, so check for
the indicator's mapped- instead of visible state.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2002

6 years agoextension-tool: Don't treat missing .js handler as error
Chuck [Thu, 19 Dec 2019 19:00:51 +0000 (11:00 -0800)]
extension-tool: Don't treat missing .js handler as error

After creating a new extension, we try to open the main source
file with the default handler, which fails when there is none.

But given that the extension was created successfully, don't treat
a missing handler as failure, and print the path to the new extension
instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/905

6 years agoappFavorites: unbreak my previous commits
Michael Catanzaro [Fri, 20 Dec 2019 13:59:53 +0000 (13:59 +0000)]
appFavorites: unbreak my previous commits

Oops, apparently even a trivial commit is too hard for me to do without CI.

6 years agoUpdate desktop IDs of favorite apps
Michael Catanzaro [Fri, 20 Dec 2019 13:53:12 +0000 (13:53 +0000)]
Update desktop IDs of favorite apps

Epiphany and Evolution updated their desktop IDs years ago. I assume the
rename list in appFavorites.js ensures this is still working properly
despite the obsolete names.

6 years agoappFavorites: add seahorse to rename list
Michael Catanzaro [Fri, 20 Dec 2019 13:49:07 +0000 (13:49 +0000)]
appFavorites: add seahorse to rename list

6 years agoextensions-tool: Set up translations for standalone builds
Florian Müllner [Tue, 3 Dec 2019 02:02:30 +0000 (03:02 +0100)]
extensions-tool: Set up translations for standalone builds

While we can now build gnome-extensions-tool as stand-alone project,
we are currently missing any translations, as those are part of
gnome-shell.

The easiest option for addressing this would be to symlink the toplevel
po directory into the subproject, however that would mean duplicating
the entire gnome-shell message catalogs.

So instead, set up a bare po directory and provide a script to populate
it from the translations in the toplevel po directory.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/877

6 years agoextensions-tool: Add (back) README.md
Florian Müllner [Tue, 3 Dec 2019 00:58:19 +0000 (01:58 +0100)]
extensions-tool: Add (back) README.md

This was dropped when importing the project into gnome-shell. Now
that is a bit more separate again, it makes sense to add it back.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/877

6 years agoextensions-tool: Move to a subproject
Florian Müllner [Mon, 2 Dec 2019 23:07:01 +0000 (00:07 +0100)]
extensions-tool: Move to a subproject

The gnome-extensions tool code is really independent from the rest of the
code base, and could be used either as part of the gnome-shell build or as
stand-alone project (for example for the extension-ci docker image).

We can actually support both cases by moving the code to a subproject.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/877

6 years agobuild: Remove left-over file
Florian Müllner [Mon, 2 Dec 2019 23:43:08 +0000 (00:43 +0100)]
build: Remove left-over file

The file was generated when importing gnome-extensions-tool from
a standalone repository. It isn't used by the build system, and
really shouldn't have ended up in the repository at all.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/877

6 years agodoap: Add Georges Stavracas as a maintainer
Georges Basile Stavracas Neto [Wed, 18 Dec 2019 18:24:38 +0000 (15:24 -0300)]
doap: Add Georges Stavracas as a maintainer

Looks like he's is working too much in this module, and received
permission from Florian to add himself as a maintainer.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/901

6 years agoStPasswordEntry: Add the peek-password-icon for show/hide passwords
Umang Jain [Tue, 10 Dec 2019 19:05:10 +0000 (00:35 +0530)]
StPasswordEntry: Add the peek-password-icon for show/hide passwords

Also introduce a "show-peek-icon" property to enable/disable
the peek-password-icon in the password entry. This is useful
in cases where the peeking the password functionality needs
to be avoided.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agost-entry: Remove caps-lock feedback warning
Umang Jain [Fri, 13 Dec 2019 12:37:57 +0000 (18:07 +0530)]
st-entry: Remove caps-lock feedback warning

This frees the entry's secondary icon that for other uses.
Caps-lock-warning feedback has been moved to be shown in
the various dialogs instead in the password-entries itself.
StPasswordEntry can now use a peek-password icon as the
secondary icon to show/hide the password present in the
entry.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agojs: Add caps-lock Warning to the dialogs
Umang Jain [Tue, 17 Dec 2019 20:03:45 +0000 (01:33 +0530)]
js: Add caps-lock Warning to the dialogs

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agoshellEntry: Add CapsLockWarning class
Umang Jain [Fri, 13 Dec 2019 08:06:14 +0000 (13:36 +0530)]
shellEntry: Add CapsLockWarning class

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agoshellEntry: Remove isPassword Property
Umang Jain [Mon, 16 Dec 2019 18:41:49 +0000 (00:11 +0530)]
shellEntry: Remove isPassword Property

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agojs: Use StPasswordEntry for password entry fields
Umang Jain [Thu, 12 Dec 2019 09:32:53 +0000 (15:02 +0530)]
js: Use StPasswordEntry for password entry fields

Use the new StPasswordEntry for password entry fields
and remove all direct handling of clutter text of the entry
 via clutter_text_set_password_char to show/hide the password
text. StPasswordEntry will provides a peek-password-icon which
will allow to show/hide the password present in the field to
the user in subsequent commits.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agoshellEntry: Handle PasswordEntries automatically
Umang Jain [Thu, 12 Dec 2019 09:08:42 +0000 (14:38 +0530)]
shellEntry: Handle PasswordEntries automatically

shellEntry should not need to query the clutter-text directly
in order to know if the entry is for passport-input purpose.
shellEntry can easily determine a password-entry by querying
if it is an instance of StPasswordEntry and use it's API
whereever relevant.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agoSt: Add a StPasswordEntry subclass based on StEntry
Umang Jain [Tue, 12 Nov 2019 13:14:17 +0000 (18:44 +0530)]
St: Add a StPasswordEntry subclass based on StEntry

StPasswordEntry will be put to use for password entries
in various shell dialogs. This is done to have a consistent
behaviour for all password entries and introduce a peek
password functionality for these password entries in the
subsequent commits.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/619

6 years agopadOsd: Re-query action labels after mode switches
Carlos Garnacho [Mon, 16 Dec 2019 11:39:49 +0000 (12:39 +0100)]
padOsd: Re-query action labels after mode switches

Do this so the pad OSD is able to update dynamically to mode changes,
showing immediately the new actions for the current mode(s).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/898

6 years agoworkspace: Pass device to startDrag()
Carlos Garnacho [Fri, 13 Dec 2019 17:14:51 +0000 (18:14 +0100)]
workspace: Pass device to startDrag()

This is necessary to make DnD operations work from tablet devices on
wayland, as it's not the same onscreen pointer sprite than mice. Fixes
window DnD in the overview on tablet devices, no longer having them stick
to the wrong pointer.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/897

6 years agoshell-app: Add discrete GPU support for NVidia drivers
Bastien Nocera [Thu, 24 Oct 2019 12:39:25 +0000 (14:39 +0200)]
shell-app: Add discrete GPU support for NVidia drivers

Use data from switcheroo-control to know which environment variables
to use to launch an application on the discrete GPU. switcheroo-control
version 2.0 or newer should be installed on Linux platforms.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1810
6 years agoshell: Prime the GPUs property cache for switcheroo-control
Bastien Nocera [Tue, 3 Dec 2019 21:32:23 +0000 (22:32 +0100)]
shell: Prime the GPUs property cache for switcheroo-control

See: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/781

6 years agoshell: Add API to access switcheroo-control D-Bus proxy
Bastien Nocera [Tue, 3 Dec 2019 11:07:54 +0000 (12:07 +0100)]
shell: Add API to access switcheroo-control D-Bus proxy

See: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/781

6 years agomain: Add switcheroo-control generated code
Bastien Nocera [Wed, 6 Nov 2019 12:02:27 +0000 (13:02 +0100)]
main: Add switcheroo-control generated code

See: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/781

6 years agodata: Update switcheroo-control D-Bus interface
Bastien Nocera [Thu, 12 Dec 2019 17:19:29 +0000 (18:19 +0100)]
data: Update switcheroo-control D-Bus interface

It's backwards compatible, so just new properties.

See: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/781

6 years agoappDisplay: Remove unimplemented 'activate-discrete-gpu'
Bastien Nocera [Mon, 21 Oct 2019 10:48:43 +0000 (12:48 +0200)]
appDisplay: Remove unimplemented 'activate-discrete-gpu'

It was added in commit 009d021 but not advertised, and likely not used
by an application since then.

See: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/781

6 years agoBump version to 3.35.2
Florian Müllner [Wed, 11 Dec 2019 00:07:31 +0000 (01:07 +0100)]
Bump version to 3.35.2

Update NEWS.

6 years agoutil: Place spawned processes into a systemd scope
Benjamin Berg [Wed, 27 Nov 2019 15:35:45 +0000 (16:35 +0100)]
util: Place spawned processes into a systemd scope

This improves the separation from the shell for applications launched
with Alt+F2 and in a few other cases.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/863

6 years agoshell-global: Place launched applications into a systemd scope
Benjamin Berg [Tue, 26 Nov 2019 18:45:29 +0000 (19:45 +0100)]
shell-global: Place launched applications into a systemd scope

This improves separation from the shells service scope for applications
launched using an XDG desktop file.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/863

6 years agoweather: Only require auto-location authorization if sandboxed
Florian Müllner [Wed, 27 Nov 2019 22:01:15 +0000 (23:01 +0100)]
weather: Only require auto-location authorization if sandboxed

Since commit 87e60ed97843, geoclue no longer pretends that authorization
is useful for system-installed apps (as they can easily lie about their
ID). Unfortunately this broke our auto-location support in case Weather
is installed non-sandboxed, as we are waiting for an authorization that
will never happen.

Unbreak it by only requiring authorization when installed as Flatpak.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1823

6 years agomagnifier: Adapt to painting and picking API change
Robert Mader [Fri, 6 Dec 2019 19:10:58 +0000 (20:10 +0100)]
magnifier: Adapt to painting and picking API change

This was left out in 988a0e7314018

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/891

6 years agoscreenShield: Adapt to painting and picking API change
Robert Mader [Fri, 6 Dec 2019 18:57:37 +0000 (19:57 +0100)]
screenShield: Adapt to painting and picking API change

This was apparently forgotten in 988a0e7314018, causing the warning:
`JS ERROR: Error: Too few arguments to method Clutter.Actor.paint`

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/891

6 years agopopupMenu: Close when a system modal pops up
Florian Müllner [Fri, 6 Dec 2019 17:07:35 +0000 (18:07 +0100)]
popupMenu: Close when a system modal pops up

Just like switcher popups, popup menus don't play well together with
system modals, and generally have a lower priority. So just like
switcher popups, close popup menus when a system modal dialog pops
up.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1536

6 years agoswitcherPopup: Dismiss when a system modal dialog opens
Florian Müllner [Fri, 6 Dec 2019 12:56:24 +0000 (13:56 +0100)]
switcherPopup: Dismiss when a system modal dialog opens

As system modal dialogs may open without user interaction (for instance
polkit or network agent requests), it is possible for them to pop up
while the app/window switcher is up.

The current result of having both up simultaneously is clearly broken,
so we can either dismiss the popup or prevent the modal dialog from
opening. Assume that the dialog indicates a more important action and
should therefore take precedence, so go with the former.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1536

6 years agoperf-helper: Remove unused atoms
Florian Müllner [Thu, 5 Dec 2019 12:29:38 +0000 (13:29 +0100)]
perf-helper: Remove unused atoms

Those aren't used for anything, but make the helper dependent on X11.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/887

6 years agoperf-helper: Add content for custom drawing
Florian Müllner [Thu, 5 Dec 2019 13:12:47 +0000 (14:12 +0100)]
perf-helper: Add content for custom drawing

Drawing windows got a lot more involved with the advent of client-side
decorations. Instead of accounting for visible and invisible borders,
titlebar and shadows when necessary, just add an empty child for the
custom drawing.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/887

6 years agoappDisplay: Rename _allItems array to _orderedItems
Jonas Dreßler [Thu, 31 Oct 2019 23:44:02 +0000 (00:44 +0100)]
appDisplay: Rename _allItems array to _orderedItems

Since both the `_items` object and the `_allItems` array include the
same items, the difference between those variables seems unclear. The
real difference between them (except the different data type) is that
`_allItems` is ordered in the same order as the visible grid, so rename
`_allItems` to `_orderedItems` which makes that more obvious.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/799